package com.campus.counseling.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Getter
@Setter
@TableName("chat_analysis")
public class ChatAnalysis {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    @TableField("message_id")
    private Long messageId;
    
    @TableField("user_id")
    private Long userId;
    
    @TableField("sentiment_score")
    private BigDecimal sentimentScore;
    
    @TableField("emotion_type")
    private String emotionType;
    
    @TableField("analysis_time")
    private LocalDateTime analysisTime;
    
    @TableField("create_time")
    private LocalDateTime createTime;
} 